<template>
  <div>
    <h2>
        用户中心页面
    </h2>
    <input type="submit" value="提交" @click="changeValue"/>
    <div>
        <FatherCom :tableRead="tableRead" />
    </div>

  </div>
</template>

<script>
import FatherCom from './components/FatherCom.vue'

export default {
    name: 'userCenterPage',
    components: {
      FatherCom
    },
    data() {
        return {
          tableRead: true
        }
    },
    methods: {
      changeValue() {
        this.tableRead = !this.tableRead
      }
    }
}
</script>

<style lang="scss" scoped>
    
</style>